#ifndef LONGKEY_COMMON_SECURITY_AES_H__
#define LONGKEY_COMMON_SECURITY_AES_H__

#include "inttypes.h"

#ifdef __cplusplus
extern "C" {
#endif

	// Encrypt a block.
	// Both key and block size are 128 bits.
	void AES_encrypt_block(const uint8_t* key,
		const uint8_t* in,
		uint8_t* out );

#define AES_BLOCK_SIZE 16

#ifdef __cplusplus
}
#endif

#endif  // LONGKEY_COMMON_SECURITY_AES_H__